package de.tabuma.shopping.entity;

import java.util.*;
import javax.jdo.annotations.*;

/**
 *
 * @author $Author: alefen $
 * @version $Revision: 1.1 $
 * @since $Date: 2009/07/21 19:37:33 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class LicensePackage {

    public LicensePackage(Long id, String bezeichnung, String beschreibung, double price, License[] list) {
        this.id = id;
        this.name = bezeichnung;
        this.description = beschreibung;
        this.list = list;
        this.price = price;
    }

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    Long id;
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }

    @Persistent
    String name;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    @Persistent
    String description;
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }

    @Persistent
    double price;
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }

    @Persistent
    License list[];
    public License[] getList() {
        return list;
    }
    public void setList(License[] list) {
        this.list = list;
    }

}
